﻿
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ECItemSeleccionMonPanel.ascx.cs" 
Inherits="UILGestion.Control.ECItemSeleccionMonPanel" %>
<%@ Register Assembly="CustomControls" Namespace="CustomControls" TagPrefix="cc2" %>
<%@ Register src="ComparativoAddItemSelecGrid.ascx" tagname="ComparativoAddItemSelecGrid" tagprefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

           <asp:UpdatePanel ID="seleccionUpdatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
           
               
               <asp:Panel ID="Panel2" runat="server"  class="ms-crm-Form-Body"  >
                 <input id="idEstructuraCostoPartir" type="hidden"  runat="server" />
                               <input id="idRecursoPartirList" type="hidden"  runat="server" />
                               <input id="idObra" type="hidden"  runat="server" />
                               <input id="idEstructuraCosto" type="hidden"  runat="server" />
                               <input id="simbolMoneda" type="hidden"  runat="server" />
                                 <input id="idListYaUtilizados" type="hidden"  runat="server" />
                                 <input id="idRecursoOCList" type="hidden"  runat="server" />
                               

                               
<table  width="600px" >

            <tr>
                <td align="right" >
<table>
<tr>
<td>Moneda:</td>
                <td align="left" width="400px">
                    <cc2:DropDownCC ID="MonedaDropDown" runat="server"  AutoPostBack="true" 
                       OnSelectedIndexChanged="MonedaSeleccionDropDownList_SelectedIndexChanged" 
                        Width="200px">
                    </cc2:DropDownCC>
                </td>
</tr>
</table>

                </td>   
                <td align="right">
                <table class="PanelTotales">
                <tr>
                <td width="150px">Total Seleccion:</td>
                    <td align="right" width="150px">
                    <asp:UpdatePanel ID="totalUpdatePanel" runat="server" UpdateMode="Conditional">
                        <ContentTemplate>
                            <asp:Label ID="TotalLabel" runat="server" Text="0.00"></asp:Label>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
                </tr>
                </table>

                 </td>
            
            </tr>
            </table>
      
</asp:Panel>
 
               
            </ContentTemplate>
           
            </asp:UpdatePanel>
          
      <asp:UpdatePanel ID="UpdatePanelGrilla" runat="server" UpdateMode="Conditional">
                        <ContentTemplate>
                        <asp:GridView ID="itemGridView" 
                         Runat="Server" 
                        DataKeyNames="idInternal"  
                        CellPadding="4"
                        AllowSorting="true" 
                        OnSorting="gridview_sorting" 
                        SkinID="GridView" >
            <Columns><asp:TemplateField ItemStyle-Width="1%"><ItemTemplate ><asp:CheckBox runat="server" ID="chkEmployeeSelector"  ClientIDMode="Static"  Font-Size="Large"
                                 OnCheckedChanged="ItemSelectChange" AutoPostBack="true"/></ItemTemplate><HeaderTemplate><asp:CheckBox runat="server" ID="chkSelectAll" ClientIDMode="Static"  Font-Size="Medium"
                                 OnCheckedChanged="ItemAllSelectChange" AutoPostBack="true"/></HeaderTemplate></asp:TemplateField>
                                 <asp:BoundField DataField="codigo" HeaderText="CODIGO"   HeaderStyle-Width="55px" />
                                 <asp:BoundField DataField="descripcion" HeaderText="DESCRIPCION"  HeaderStyle-Width="300px"/>
                                 <asp:BoundField DataField="unidad" HeaderText="UNID." HeaderStyle-Width="35px" />
                                 <asp:BoundField DataField="cantidadDisp" HeaderText="CANT."  ItemStyle-BackColor="LightGoldenrodYellow"  ItemStyle-Width="95px" ItemStyle-HorizontalAlign="Right" />
                                 <asp:BoundField DataField="precioMon" HeaderText="PRECIO"  ItemStyle-Width="95px"  ItemStyle-HorizontalAlign="Right" />
                                 <asp:BoundField DataField="totalDispMon"  ItemStyle-BackColor="LightGoldenrodYellow" HeaderText="DISPONIBLE"  ItemStyle-Width="95px"  ItemStyle-HorizontalAlign="Right" />
                                 </Columns>
                                 </asp:GridView>
                                 </ContentTemplate></asp:UpdatePanel>

          
          
    


